package sjtu.ist.warehouse4ws.service;

import java.util.List;

import sjtu.ist.warehouse4ws.model.Fileinfo;
import sjtu.ist.warehouse4ws.vo.FullSearchVO;



public interface FileInfoService {
	List<Fileinfo> getFileInfoList();
	void saveFileInfo(Fileinfo fileInfo);
	void updateFileInfo(Fileinfo fileInfo);
	List<Fileinfo> searchFileInfo(String keyWord);//模型普通搜索
	List<Fileinfo> searchDetailFileInfo(String keyWord1, String keyWord2, String keyWord3,
										String keyWord4, String keyWord5, String keyWord6);//模型高级搜索
	List<Fileinfo> findFileInfoByName(String fileName);
	List<FullSearchVO> getAllFullSearchResult(String keyWord);
	List<FullSearchVO> getAllDetailSearchResult(String keyWord1, String keyWord2, String keyWord3,
										String keyWord4, String keyWord5, String keyWord6);
	Fileinfo getFileInfo(String id);
	void deleteFileInfo(String id);
	String getCompanyByFileInfoId(String fileInfoId);
}
